<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="css/login.css">
</head>

<body>
    <!-- 正则表达式匹配验证用户名^[编码范围]{字符串长度} -->
    <!-- <form action="#">
        <input type="text" required pattern="^[a-zA-Z0-9_-]{6,16}$">
        <input type="submit" value="提交">
    </form> -->

    <form action="#">
        <div class="user">
            <input type="text" name="username" placeholder="请输入用户名：">
            <input type="password" name="password" placeholder="请输入密码：">
        </div>
        <div class="footer">
            <input type="submit" value="登录">
            <a href="register.html ">注册</a>
            </footer>
        </div>
    </form>
</body>

</html>